package com.zhu.tool_test.starke.framework.redis.controller;

import java.util.concurrent.ExecutionException;

/**
 * @author  4everlynn
 * @version V1.0
 * @description
 * @date 2019-04-17
 */
public interface CommandCallback {
    /**
     * 接收到数据的回调
     *
     * @param data 数据
     */
    public void receiveData(String data) throws ExecutionException, InterruptedException;
}
